<div class="pagination">
	<?if(page.pageNumber > 1) {?>
	<span class="pg-item pg-nav-item pg-pre"><a href='${ctx}/html/list_${page.pageNumber!2 - 1}.html' title='上一页' class='navbutton'>上一页</a></span>
	<?} else {?>
	<span class="pg-item pg-nav-item pg-pre"><a href='javascript:void(0);' title='上一页' class='navbutton'>上一页</a></span>
	<?}?>
	<?if(page.totalPage <= 5) {?>
	<?for(var i=1;i<=page.totalPage;i++){?>
	<?if(i==page.pageNumber) {?>
	<span class='pg-item pg-item-current'>
		<span class='current'>${page.pageNumber!}</span>
	</span>
	<?} else {?>
	<span class="pg-item">
		<a href='${ctx}/html/list_${page.pageNumber!}.html' title='浏览第${page.pageNumber!}页' class='navbutton'>${page.pageNumber!}</a>
	</span>
	<?}?>
	<?}?>
	<?}?>
	<?if(page.pageNumber! < page.totalPage!) {?>
	<span class="pg-item pg-nav-item pg-next"><a href='http://www.zhiyanblog.com/articles/page/2' title='下一页' class='navbutton'>下一页</a></span>
	<?} else {?>
	<span class="pg-item pg-nav-item pg-next"><a href='javascript:void(0);' title='下一页' class='navbutton'>下一页</a></span>
	<?}?>
</div>